Crate stm32h7xx_hal
source ·Expand description
See the examples folder for more usage examples
This Hardware Abstraction Layer (HAL) provides the following functionality:
Setup and Configuration
Digital IO
Analog IO
Digital Busses
- Inter Integrated Circuit (I2C)
- Serial Peripheral Interface (SPI)
- Serial Data (USART/UART)
- Serial Audio Interface
- Quad or Octo SPI Feature gate
xspi
- Ethernet Feature gate
ethernet
- USB HS Feature gate
usb_hs
- LCD-TFT Display Controller Feature gate
ltdc
- CAN and CAN-FD Feature gate
can
External Memory
- Flexible Memory Controller (FMC) Feature gate
fmc
- SD Card (SDMMC) Feature gate
sdmmc
(FAT16/32 driver is available under thesdmmc-fatfs
feature gate)
Timing functions
- Pulse Width Modulation (PWM)
- Quadrature Encoder Interface
- Real-Time Clock Feature gate
rtc
- Timers
- Delays
Others
- Direct Memory Access (DMA)
- Cyclic Redundancy Check (CRC) Feature gate
crc
- Random Number Generator (rand_core::RngCore is implemented under the
rand
feature gate) - Embedded Flash Memory
- System Window Watchdog
- Independent Watchdog
Cargo Features
defmt
formatting for some types can be enabled with the featuredefmt
.
Re-exports
pub use embedded_hal as hal;
pub use nb;
Modules
- Analog to Digital Converter (ADC)
- can
can
CAN and FD-CAN - crc
crc
Cyclic Redundancy Check (CRC) - Digital to Analog Converter (DAC)
- Delay providers
- Peripheral access API for STM32H743 microcontrollers (generated using svd2rust v0.24.1 ( ))
- Direct Memory Access
- ethernet
ethernet
This module implements a smoltcp device interfacephy::Device
for the STM32H7 series of microcontrollers. - External interrupt controller
- Embedded Flash memory
- fmc
fmc
Flexible Memory Controller - General Purpose Input / Output
- Inter Integrated Circuit (I2C)
- Independent Watchdog
- ltdc
ltdc
LCD-TFT Display Controller - Peripheral access API for STM32H743 microcontrollers (generated using svd2rust v0.24.1 ( ))
- Prelude
- Pulse Width Modulation (PWM)
- Power configuration
- Quadrature Encoder Interface
- Reset and Clock Control
- Random Number Generator
- rtc
rtc
Real-Time Clock - Serial Audio Interface
- sdmmc
sdmmc
SD MultiMediaCard interface (SDMMC) - Serial
- Device electronic signature
- Serial Peripheral Interface (SPI)
- Peripheral access API for STM32H743 microcontrollers (generated using svd2rust v0.24.1 ( ))
- System Window Watchdog
- Time units
- Timers
- usb_hs
usb_hs
USB OTG peripherals - xspi
xspi
Quad or Octo SPI bus
Macros
- Turns the non-blocking expression
$e
into a blocking operation.
Enums
- Enumeration of all the interrupts.